package com.chensi.cloudtest;

import com.unibeta.cloudtest.config.ConfigurationProxy;
import com.unibeta.cloudtest.constant.CloudTestConstants;
import com.unibeta.cloudtest.parallel.ParallelJob;
/**
 * 
 * @author si.chen
 *
 */
public class ParallelJobRunner {

	public static void main(String[] args) throws Exception {
		
		//项目地址
		ConfigurationProxy.setCLOUDTEST_HOME(CloudTestConstants.CLOUDTEST_HOME);
		//待上传的cloudtest目录
		ConfigurationProxy.setRootFolderName(CloudTestConstants.CLIENT_CLOUDTEST_FOLDER);//D:\\workspace\\cloudtest\\cloudtest
		System.out.println(ConfigurationProxy.getCLOUDTEST_HOME());
		System.out.println(ConfigurationProxy.getRootFolderName());
		System.out.println(ConfigurationProxy.getCloudTestRootPath());
		System.out.println(ConfigurationProxy.getConfigurationFilePath());
		System.out.println(ConfigurationProxy.getOsUserName());
		String testCases = "1TestCase/common/,1TestCase/Output/";
		//推送testcase到服务端
		ParallelJob.run(testCases, null);
	}
}
